-
Home
-
Leat
-
2.3.0
-
Code
-
Classes
- WPSpendRuleRepository
| Total Complexity |
32 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
286 |
| Lines of code |
179 |
| Logical lines of code |
74 |
| Comment lines |
61 |
| Methods |
10 |
| Properties |
2 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_or_update() |
S |
44 |
6 |
45 |
| get_rules_by_type() |
S |
50 |
5 |
30 |
| get_applicable_rule() |
S |
58 |
5 |
16 |
| create_or_update_from_reward() |
S |
54 |
3 |
22 |
| get_by_uuid() |
S |
55 |
3 |
19 |
| get_rules() |
S |
57 |
3 |
16 |
| delete_by_uuid() |
S |
57 |
2 |
17 |
| get_by_id() |
S |
68 |
3 |
7 |
| __construct() |
S |
76 |
1 |
4 |
| get_active_rules() |
S |
79 |
1 |
3 |